// Copyright (C) joyinter
// All rights reserved.
// 
// Author : Jiang Li
// Date   : 2004-12-7

#ifndef JOY_DBMSG_DEF
#   error must define JOY_DBMSG_DEF before include mc_def.h
#endif  // JOY_DBMSG_DEF


/////////////////////////////////////////////////////////////////////////
// server messages.

// the server should shutdown itself or cancel a shutdown operation.
JOY_DBMSG_DEF(ServerShutdown, 10001)

// update the client version list.
JOY_DBMSG_DEF(ServerUpdateVersion, 10002)

// server should notify the client application to show a note.
JOY_DBMSG_DEF(ServerPopNote, 10003)


/////////////////////////////////////////////////////////////////////////
// user messages.

// kick a user by id.
JOY_DBMSG_DEF(UserKick, 20001)


/////////////////////////////////////////////////////////////////////////
// room messages.

// shutdown a room or cancel shutdown operation.
JOY_DBMSG_DEF(RoomShutdown, 30001)

// update room attributes and load new rooms.
JOY_DBMSG_DEF(RoomLoad, 30002)

// send note to client chatview.
JOY_DBMSG_DEF(RoomNote, 30003)




#undef  JOY_DBMSG_DEF